import Ammo
import pygame

image1=pygame.image.load("crossbolt.bmp")
image1.set_colorkey((255,0,255))

class Crossbolt(Ammo.Ammo):
	def __init__(self,x=0,y=0,mass=0.436):
		Ammo.Ammo.__init__(self,x=x,y=y,mass=mass,image=image1)
	def damageDealt(self,other):
		p=0.06*self.getImpulse()
		print "impulse!",p
		other.physicalDamageTaken(p)